package com.gxa.core.recycling.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import javax.persistence.*;
import java.io.Serializable;

/**
 * 商品图片标
 * @author ：looker
 * @date ：Created in 2021/11/29 11:20
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Document(collection = "imgsList")
public class Imgs implements Serializable {
    @Field("id")
    private Long id;
    @Field("gid")
    private Long gid;
    //url
    @Field("url")
    private String url;

}
